package com.ypj.community.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class AlphaService {
    private static final Logger LOGGER= LoggerFactory.getLogger(AlphaService.class);
    //@Async
    public  void execute(){
        LOGGER.debug("execute1");
    }

    //@Scheduled(initialDelay = 10000,fixedRate = 1000)
    public void execute2(){
        LOGGER.debug("execute2");
    }
}
